import request from '@/utils/request'

// 查询分享类型详细列表
export function listAInformation(query) {
  return request({
    url: '/system/aInformation/list',
    method: 'get',
    params: query
  })
}

// 查询分享类型详细详细
export function getAInformation(id) {
  return request({
    url: '/system/aInformation/' + id,
    method: 'get'
  })
}

// 新增分享类型详细
export function addAInformation(data) {
  return request({
    url: '/system/aInformation',
    method: 'post',
    data: data
  })
}

// 修改分享类型详细
export function updateAInformation(data) {
  return request({
    url: '/system/aInformation',
    method: 'put',
    data: data
  })
}

// 删除分享类型详细
export function delAInformation(id) {
  return request({
    url: '/system/aInformation/' + id,
    method: 'delete'
  })
}
